package com.basic.modules.nykf.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("n_ykf_jxsj")
public class JxSjEntity {

    // 录入id
    private Long lrId;

    // 日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date date;

    // 子账号id
    private Long fpKfId;

    // 累计销售额
    private BigDecimal ljxse;

    // 日均接待量
    private BigDecimal rjjdl;

    // 询单转化率
    private BigDecimal xdzhl;

    // 响应时间
    private BigDecimal xysj;

    // 累计答问比
    private BigDecimal ljdwb;

    // 回复率
    private BigDecimal hfl;

    // 录入人userId
    private Long lrrUserId;

    // 店铺名称
    @TableField(exist = false)
    private String dpmc;

    // 数据账号
    @TableField(exist = false)
    private String sjzh;

    // 子账号id
    private Long zzhId;

    // 子账号名称
    @TableField(exist = false)
    private String zzhmc;

    // 服务班次
    @TableField(exist = false)
    private String fwbcName;

    // 服务类型
    @TableField(exist = false)
    private String fwlxName;

    // 店铺平台
    @TableField(exist = false)
    private String dpptName;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}